package com.lingyuan.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @ClassName TestThreadPoolConfig
 * @Description 描述  封装 线程池所需参数
 * @Author guoxin
 * @Date 2024/9/20 11:50
 */
@Component
@ConfigurationProperties(prefix = "spring.thread-pool.config")
@Data
public class TestThreadPoolConfig {
    private Integer coreSize;
    private Integer maxSize;
    private Integer queueCapacity;
    private Integer keepAliveSeconds;
}

